package com.erp.erp_entitys.Cost.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zjk
 * @version 1.0
 * @description 费用表
 * @date 2020/11/17/017 21:40
 */
public class CostEntity implements Serializable {
    /**
     * 主键ID
     */
    private Integer id;
    /**
     * 费用登记编号
     */
    private String code;
    /**
     * 费用类型“1”：直接费用。“2”间接费用
     */
    private Integer costType;

    /**
     *人民币汇率
     */
    private BigDecimal rmbRate;
    /**
     *美金汇率
     */
    private BigDecimal usdRate;
    /**
     *收款单位编号
     */
    private String payeeCode;
    /**
     *收款单位名称
     */
    private String payeeName;
    /**
     *银行名称
     */
    private String bankName;
    /**
     *银行账号
     */
    private String bankAccount;
    /**
     *银行账号名称
     */
    private String accountName;
    /**
     * 字典表编号
     */
    private String dictionaryCode;
    /**
     *付款表id
     */
    private Integer costPaymentId;
    /**
     *费用总金额
     */
    private BigDecimal totalAmount;
    /**
     *费用实付金额
     */
    private BigDecimal totalCost;
    /**
     *费用实付时间
     */
    private Date totalCostCreateTime;
    /**
     *已拆分金额
     */
    private BigDecimal amountSplit;
    /**
     *未拆分金额
     */
    private BigDecimal undividedAmount;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     * 制单公司名称
     */
    private String billCompanyName;
    /**
     * 制单公司编码
     */
    private String billCompanyCode;
    /**
     *操作员编号
     */
    private String operatorCode;
    /**
     *操作员名称
     */
    private String operatorName;
    /**
     *业务员名称
     */
    private String salesmanName;
    /**
     *业务员编号
     */
    private String salesmanCode;
    /**
     * 单据信息
     */
    private String billInformation;
    /**
     * 备注
     */
    private String description;
    /**
     *单据状态/类型（1：草稿箱，2：待批箱，3：已批箱，4：完成箱，5垃圾箱）
     */
    private Integer status;
    /**
     * 是否有效(0:无效 1:有效)
     */
    private Integer valid;



    /**
     * 币种编号
     */
    private String currencyCode;
    /**
     * 币种名称
     */
    private String currencyName;

    /**
     * 流程实例id
     */
    private String costBpmId;
    /**
     *审批状态  0 未审核 1 审批中 2审核完成
     */
    private String costBpmStatus;

    public String getCostBpmId() {
        return costBpmId;
    }

    public void setCostBpmId(String costBpmId) {
        this.costBpmId = costBpmId;
    }

    public String getCostBpmStatus() {
        return costBpmStatus;
    }

    public void setCostBpmStatus(String costBpmStatus) {
        this.costBpmStatus = costBpmStatus;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getCurrencyName() {
        return currencyName;
    }

    public void setCurrencyName(String currencyName) {
        this.currencyName = currencyName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getCostType() {
        return costType;
    }

    public void setCostType(Integer costType) {
        this.costType = costType;
    }



    public BigDecimal getRmbRate() {
        return rmbRate;
    }

    public void setRmbRate(BigDecimal rmbRate) {
        this.rmbRate = rmbRate;
    }

    public BigDecimal getUsdRate() {
        return usdRate;
    }

    public void setUsdRate(BigDecimal usdRate) {
        this.usdRate = usdRate;
    }

    public String getPayeeCode() {
        return payeeCode;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public void setPayeeCode(String payeeCode) {
        this.payeeCode = payeeCode;
    }

    public String getPayeeName() {
        return payeeName;
    }

    public void setPayeeName(String payeeName) {
        this.payeeName = payeeName;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName == null ? null : bankName.trim();
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount == null ? null : bankAccount.trim();
    }

    public String getDictionaryCode() {
        return dictionaryCode;
    }

    public void setDictionaryCode(String dictionaryCode) {
        this.dictionaryCode = dictionaryCode == null ? null : dictionaryCode.trim();
    }

    public Integer getCostPaymentId() {
        return costPaymentId;
    }

    public void setCostPaymentId(Integer costPaymentId) {
        this.costPaymentId = costPaymentId;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;
    }

    public Date getTotalCostCreateTime() {
        return totalCostCreateTime;
    }

    public void setTotalCostCreateTime(Date totalCostCreateTime) {
        this.totalCostCreateTime = totalCostCreateTime;
    }

    public BigDecimal getAmountSplit() {
        return amountSplit;
    }

    public void setAmountSplit(BigDecimal amountSplit) {
        this.amountSplit = amountSplit;
    }

    public BigDecimal getUndividedAmount() {
        return undividedAmount;
    }

    public void setUndividedAmount(BigDecimal undividedAmount) {
        this.undividedAmount = undividedAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBillCompanyName() {
        return billCompanyName;
    }

    public void setBillCompanyName(String billCompanyName) {
        this.billCompanyName = billCompanyName == null ? null : billCompanyName.trim();
    }

    public String getBillCompanyCode() {
        return billCompanyCode;
    }

    public void setBillCompanyCode(String billCompanyCode) {
        this.billCompanyCode = billCompanyCode == null ? null : billCompanyCode.trim();
    }

    public String getOperatorCode() {
        return operatorCode;
    }

    public void setOperatorCode(String operatorCode) {
        this.operatorCode = operatorCode == null ? null : operatorCode.trim();
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName == null ? null : operatorName.trim();
    }

    public String getSalesmanName() {
        return salesmanName;
    }

    public void setSalesmanName(String salesmanName) {
        this.salesmanName = salesmanName == null ? null : salesmanName.trim();
    }

    public String getSalesmanCode() {
        return salesmanCode;
    }

    public void setSalesmanCode(String salesmanCode) {
        this.salesmanCode = salesmanCode == null ? null : salesmanCode.trim();
    }

    public String getBillInformation() {
        return billInformation;
    }

    public void setBillInformation(String billInformation) {
        this.billInformation = billInformation == null ? null : billInformation.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

}
